package com.shuai.user.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class InterfacePageVO implements Serializable {
    public static final Long serializableId = 1L;

    /**
     * 每页数量
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long pageSize;

    /**
     * 页数
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long pageIndex;

    private Long total;


    private List<InterfaceInfoVO> records;


}
